/*
 * @Date: 2024-12-18 11:08:55
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2024-12-18 11:08:57
 * @Description: 
 */
import { callComp } from '@/plugins/call-comp/CallCompPlugins.jsx'

import ProjApplyDialog from '@hd/dialogs/ProjApplyDialog.vue'


/**
 * 打开项目申报对话框
 * @param {Object} props Props
 * @prop {String} [title='项目申报'] 弹窗标题
 * @prop {String} [type='add'] 申报类型 add/improve
 * @prop {String} [formCode=''] 申报表单编码
 * @prop {Object} [extParams={}] 申报表单扩展参数
 * @prop {Boolean} [showFooter=true] 是否显示底部
 * @prop {Function} [onCancel] 取消回调
 * @prop {Function} [onConfirm] 确认回调
 * @prop {Function} [onDestory] 销毁回调
 */
export const openXmsbDialog = (props) => {
  callComp.open(ProjApplyDialog, {
    className: 'rk-modal proj-apply-dialog',
    ...props,
  })
}

export {
  callComp
}